import Request from './request2.js'
let request = new Request().http

//重启设备
export const restartDevice = (data) => {
    return request({
        url: '/jsonp_reset_yfl',
        method: 'GET',
        data: data
    })
}

//恢复出厂设置 
export const resetDevice = (data) => {
    return request({
        url: '/jsonp_recovery_system_yfl',
        method: 'GET',
        data: data
    })
}

// 修改2.4G热点
export const set24G = (data) => {
    return request({
        url: '/24g_wifi_info_set_yfl',
        method: 'GET',
        data: data
    })
}

// 修改5G热点
export const set5G = (data) => {
    return request({
        url: '/5g_wifi_info_set_yfl',
        method: 'GET',
        data: data
    })
}


// 获取 获取热点信息
export const getInfo = (data) => {
    return request({
        url: '/jsonp_5g_wifi_info',
        method: 'GET',
        data: data
    })
}


// 切卡
export const updataEsim = (data) => {
    return request({
        url: '/esim_enable_quick_yfl',
        method: 'GET',
        data: data
    })
}